using System.ComponentModel.DataAnnotations;

namespace DeathReportManagement.Models;

public class Icd10
{
    public int Id { get; set; }
    
    [Required]
    [StringLength(10)]
    public string Code { get; set; } = string.Empty;
    
    [Required]
    [StringLength(200)]
    public string Name { get; set; } = string.Empty;
    
    [StringLength(10)]
    public string? Category { get; set; }
    
    [StringLength(500)]
    public string? Description { get; set; }
    
    public bool IsActive { get; set; } = true;
}